package com.hulman.oms.dao;

import com.hulman.oms.bean.WeekReport;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * @Author: maxwellens
 */
@Mapper
public interface WeekReportDao
{
    List<WeekReport> findWeekReports(Map<String, Object> map);

    Integer findWeekReportsCount(Map<String, Object> map);

    WeekReport findWeekReportById(Integer id);

    int insertWeekReport(WeekReport weekReport);

    void deleteWeekReportById(Integer id);

    void deleteWeekReports(int[] ids);

    int updateWeekReport(WeekReport weekReport);
}
